<template>
  <div class="empty-preview">
    <el-icon class="empty-icon"><FolderOpened /></el-icon>
    <h3>选择文件夹查看内容</h3>
    <p>从左侧树形目录中选择文件夹查看其中的文件</p>
  </div>
</template>

<script setup>
import { FolderOpened } from '@element-plus/icons-vue'
</script>

<style scoped>
.empty-preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #909399;
  text-align: center;
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
  color: #c0c4cc;
}

.empty-preview h3 {
  margin: 0 0 10px 0;
  font-size: 20px;
  color: #606266;
}

.empty-preview p {
  margin: 0 0 20px 0;
  font-size: 14px;
}
</style>